package logic.weapons.projectileWeapons;

import logic.weapons.WeaponController;

public class ProjectileWeaponController extends WeaponController {
	
	private static final long serialVersionUID = 1L;
	
	protected ProjectileWeapon weapon;
	
	public ProjectileWeaponController(ProjectileWeapon weapon) {
		super(weapon);
		this.weapon = weapon;
	}
	
	@Override
	public boolean isReadyToFire() { return super.isReadyToFire() && weapon.hasProjectiles(); }
}